import type { IJsonSchema } from "./common";
import type { IMaterialStore, IEditorStore } from "./store";

// ^ 编辑组件通知更改状态
export interface IDispatchStatus {
  (
    store: IMaterialStore | IEditorStore,
    currentComJsonSchemaStatus: IJsonSchema["status"],
    statusKey: string,
    value: string | number | boolean | { index: number; link: string },
  ): void;
}
